home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Belgian Amiga Club - ADF Collection
/
BS1 part 26.zip
/
BS1 part 26
/
C for beginners.adf
/
source
/
strcmp.c
< prev
next >
Wrap
Text File
|
1978-01-17
|
697b
|
21 lines
/* Filename: "strcmp.c" */
/**********************************************************************/
/* Name: strcmp */
/* Parameter: s (String), t (String) */
/* Return value: identical 0 not identical 1 */
/* Function: Compares "s" and "t" */
/* Other: - */
/**********************************************************************/
strcmp(s,t)
register char *s, *t;
{
register int identical;
while(identical = c_comp(*s, *t++) )
if(!*s++)
return(0);
return(!identical);
}